package com.bestow.basic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 基准利率对象 fnd_base_rate
 * 
 * @author liliu
 * @date 2022-09-02
 */
public class FndBaseRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 基准利率id */
    private Long baseRateId;

    /** 基准利率代码 */
    @Excel(name = "基准利率代码")
    private String baseRateSet;

    /** 币种 */
    @Excel(name = "币种")
    private String currency;

    /** 基准利率值 */
    @Excel(name = "基准利率值")
    private BigDecimal baseRate;

    /** 月数从 */
    @Excel(name = "月数从")
    private Long monthsFrom;

    /** 月数到(含) */
    @Excel(name = "月数到(含)")
    private Long monthsTo;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setBaseRateId(Long baseRateId) 
    {
        this.baseRateId = baseRateId;
    }

    public Long getBaseRateId() 
    {
        return baseRateId;
    }
    public void setBaseRateSet(String baseRateSet) 
    {
        this.baseRateSet = baseRateSet;
    }

    public String getBaseRateSet() 
    {
        return baseRateSet;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setBaseRate(BigDecimal baseRate) 
    {
        this.baseRate = baseRate;
    }

    public BigDecimal getBaseRate() 
    {
        return baseRate;
    }
    public void setMonthsFrom(Long monthsFrom) 
    {
        this.monthsFrom = monthsFrom;
    }

    public Long getMonthsFrom() 
    {
        return monthsFrom;
    }
    public void setMonthsTo(Long monthsTo) 
    {
        this.monthsTo = monthsTo;
    }

    public Long getMonthsTo() 
    {
        return monthsTo;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("baseRateId", getBaseRateId())
            .append("baseRateSet", getBaseRateSet())
            .append("currency", getCurrency())
            .append("baseRate", getBaseRate())
            .append("monthsFrom", getMonthsFrom())
            .append("monthsTo", getMonthsTo())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
